package events.containers2;

public class Comparators {
	public static Comparator<String, Object >stringComparator()	{
		return new Comparator<String, Object>() {
			@Override
			public int compare(String t, Object u) {
				return t.compareTo(u.toString());
			}
		};
	}
	
	public static Comparator<String, Object >stringIgnoreCaseComparator()	{
		return new Comparator<String, Object>() {
			@Override
			public int compare(String t, Object u) {
				return t.compareToIgnoreCase(u.toString());
			}
		};
	}
	
}
